/*
 * @Author: ShengXD <1519256482@qq.com>
 * @Date: 2024-11-06 11:09:25
 * @LastEditors: ShengXD <1519256482@qq.com>
 * @LastEditTime: 2024-11-06 15:18:45
 * @FilePath: /vben-quick-setup/apps/web-antd/src/api/core/user.ts
 * @Description: 
 */
import type { UserInfo } from '@vben/types';

import { requestClient } from '#/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
  return requestClient.get<UserInfo>('/fetchUser');
}
